package com.ly.user_system.service.impl;

import com.ly.user_system.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import java.util.function.Function;
import com.ly.user_system.entity.BaseSysDepartment;
import com.ly.user_system.dto.BaseSysDepartmentDTO;
import com.ly.user_system.detail.BaseSysDepartmentDetail;
import com.ly.user_system.req.BaseSysDepartmentQuery;
import com.ly.user_system.service.BaseSysDepartmentService;
import com.ly.user_system.mapper.BaseSysDepartmentMapper;

@Service
public class BaseSysDepartmentServiceImpl extends BaseServiceImpl<BaseSysDepartment, BaseSysDepartmentDetail, BaseSysDepartmentDTO, BaseSysDepartmentQuery, BaseSysDepartmentMapper> implements BaseSysDepartmentService {


    @Override
    protected void init(Class<BaseSysDepartment> entityClass, Class<BaseSysDepartmentDTO> dtoClass, Class<BaseSysDepartmentDetail> detailClass, Function<BaseSysDepartment, BaseSysDepartmentDetail> detailFunction) {
        super.init(BaseSysDepartment.class,BaseSysDepartmentDTO.class,BaseSysDepartmentDetail.class,detailFunction);
    }

}